package com.atguigu.gulimall.search.utils.others;

public class Arrayss {
    public static String[] IntToStr(int[] nums) {
        String[] strings=new String[nums.length];
        for (int i=0;i<strings.length;i++){
            strings[i]= String.valueOf(nums[i]);
        }
        return strings;
    }

    public static String[] IntToStr(Integer[] nums) {
        String[] strings=new String[nums.length];
        for (int i=0;i<strings.length;i++){
            strings[i]= String.valueOf(nums[i]);
        }
        return strings;
    }

    public static Character[] IntToChar(int[] nums) {
        Character[] strings= new Character[nums.length];
        for (int i=0;i<strings.length;i++) {
            strings[i] = (char) nums[i];
        }
        return strings;
    }
}
